<?php

myauth();

$active['import'] = 'active';


if($_SERVER['REQUEST_METHOD']=='POST')
{
    $rt = new RTXMLParser($rtxml);
    $rt_info = $rt->basicInfo();

    $rt_players = $rt->playerInfo();
    $rt_joins = $rt->joins();
    $rt_leaves = $rt->leaves();
    $rt_bosskill = $rt->bossKills();
    $rt_loots = $rt->loots();

    if($conf['debug']==1)$debug_data = $rt->data;
    include template('admin/import_result');
    
    exit();
}

include template('admin/import');

?>